package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.guoxue.dao.IExplainConfigDao;
import com.guoxue.domain.ExplainConfigVo;
import com.guoxue.service.IExplainConfigService;
@Repository
public class ExplainConfigServiceImpl implements IExplainConfigService{
	
	@Resource
	private IExplainConfigDao explainDao;
	
	@Override
	public void saveExplain(ExplainConfigVo ec) {
		explainDao.saveExplain(ec);
	}

	@Override
	public List<ExplainConfigVo> getExplainConfigList() {
		return explainDao.getExplainConfigList();
	}

	@Override
	public void deleteExplainConfig(int id) {
		explainDao.deleteExplainConfig(id);
	}

	@Override
	public List<ExplainConfigVo> getExplainConfigList(int begin, int end) {
		return explainDao.getExplainConfigList(begin, end);
	}

}
